package com.yy.bolg.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 根据设备ID或传感器ID查询历史监测数据返回参数实体类
 * @author enamoFu
 * @date 2024-12-14
 */
@ApiModel(value = "根据设备ID或传感器ID查询历史监测数据返回参数")
public class HistoryMonitorResp {

    /**
     * 运营公司Id
     */
    @ApiModelProperty("运营公司ID")
    private String companyID;
    /**
     * 资源ID
     */
    @ApiModelProperty("资源ID")
    private String resourceID;
    /**
     * 序列号
     */
    @ApiModelProperty("序列号")
    private String resourceSerial;
    /**
     * 单位名称
     */
    @ApiModelProperty("单位名称")
    private String unitName;
    /**
     * 运营公司名称
     */
    @ApiModelProperty("运营公司名称")
    private String companyName;
    /**
     * 系统类型
     */
    @ApiModelProperty("系统类型")
    private String systemType;
    /**
     * 单位ID
     */
    @ApiModelProperty("单位ID")
    private String unitID;
    /**
     * 资源名称
     */
    @ApiModelProperty("资源名称（设备或传感器名称）")
    private String resourceName;
    /**
     * 资源类型
     */
    @ApiModelProperty("资源类型：1设备，2传感器")
    private int type;
    /**
     * 资源型号
     */
    @ApiModelProperty("资源型号")
    private String resourceType;

    /**
     * 传感器位置ID
     */
    @ApiModelProperty("传感器位置ID")
    private String areaID;

    /**
     * 传感器位置名称
     */
    @ApiModelProperty("传感器位置名称")
    private String areaName;

    /**
     * 监测时间
     */
    @ApiModelProperty("监测时间")
    private String monitorTime;

    /**
     * 监测数据
     */
    @ApiModelProperty("监测数据")
    private List<HistoryMonitorDataResp> historyMonitorDataList;

    public String getCompanyID() {
        return companyID;
    }

    public void setCompanyID(String companyID) {
        this.companyID = companyID;
    }

    public String getResourceID() {
        return resourceID;
    }

    public void setResourceID(String resourceID) {
        this.resourceID = resourceID;
    }

    public String getResourceSerial() {
        return resourceSerial;
    }

    public void setResourceSerial(String resourceSerial) {
        this.resourceSerial = resourceSerial;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getSystemType() {
        return systemType;
    }

    public void setSystemType(String systemType) {
        this.systemType = systemType;
    }

    public String getUnitID() {
        return unitID;
    }

    public void setUnitID(String unitID) {
        this.unitID = unitID;
    }

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getResourceType() {
        return resourceType;
    }

    public void setResourceType(String resourceType) {
        this.resourceType = resourceType;
    }

    public String getAreaID() {
        return areaID;
    }

    public void setAreaID(String areaID) {
        this.areaID = areaID;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getMonitorTime() {
        return monitorTime;
    }

    public void setMonitorTime(String monitorTime) {
        this.monitorTime = monitorTime;
    }

    public List<HistoryMonitorDataResp> getHistoryMonitorDataList() {
        return historyMonitorDataList;
    }

    public void setHistoryMonitorDataList(List<HistoryMonitorDataResp> historyMonitorDataList) {
        this.historyMonitorDataList = historyMonitorDataList;
    }

    public static class HistoryMonitorDataResp {
        /**
         * 监测类型
         */
        @ApiModelProperty("监测类型")
        private String monitorType;
        /**
         * 资源ID
         */
        @ApiModelProperty("资源ID")
        private String resourceID;
        /**
         * 序列号
         */
        @ApiModelProperty("序列号")
        private String resourceSerial;
        /**
         * 监测单位
         */
        @ApiModelProperty("监测单位")
        private String monitorUnit;
        /**
         * 监测数值
         */
        @ApiModelProperty("监测数值")
        private String monitorValue;
        /**
         * 资源类型
         */
        @ApiModelProperty("资源类型：1设备，2传感器")
        private int type;
        /**
         * 监测状态
         */
        @ApiModelProperty("监测状态：0异常，1正常")
        private String monitorState;
        /**
         * 监测时间
         */
        @ApiModelProperty("监测时间")
        private String monitorTime;
        /**
         * 传感器类型
         */
        @ApiModelProperty("传感器类型")
        private String sensorType;

        public String getMonitorType() {
            return monitorType;
        }

        public void setMonitorType(String monitorType) {
            this.monitorType = monitorType;
        }

        public String getResourceID() {
            return resourceID;
        }

        public void setResourceID(String resourceID) {
            this.resourceID = resourceID;
        }

        public String getResourceSerial() {
            return resourceSerial;
        }

        public void setResourceSerial(String resourceSerial) {
            this.resourceSerial = resourceSerial;
        }

        public String getMonitorUnit() {
            return monitorUnit;
        }

        public void setMonitorUnit(String monitorUnit) {
            this.monitorUnit = monitorUnit;
        }

        public String getMonitorValue() {
            return monitorValue;
        }

        public void setMonitorValue(String monitorValue) {
            this.monitorValue = monitorValue;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getMonitorState() {
            return monitorState;
        }

        public void setMonitorState(String monitorState) {
            this.monitorState = monitorState;
        }

        public String getMonitorTime() {
            return monitorTime;
        }

        public void setMonitorTime(String monitorTime) {
            this.monitorTime = monitorTime;
        }

        public String getSensorType() {
            return sensorType;
        }

        public void setSensorType(String sensorType) {
            this.sensorType = sensorType;
        }
    }
}
